pp108 : registerFrame Method

registerFrame Method


This method registers a new frame in the Process Platform Ajax Toolkit framework.

Syntax


system.registerFrame(sFrame, oFrameObj)

Parameters

Parameter

Description

sFrame

Required. String that denotes the name of the frame to be registered with the framework. This name should not be the name of one of the frames in Process Platform Ajax Toolkit framework.

oFrameObj

Required. Object that denotes the frame which is to be registered. This object should expose thecreateGUIRepresentation()method of theiframecontainercomponent.


Return Value


No return value.

Remarks


Using theregisterFramefeature of Process Platform Ajax Toolkit, it is possible to register frames inside frames. For this to work, theiframecontainercomponent has to be attached to an IFRAME which needs to be registered to the frames collection.

See Also


System, iframecontainer, guiRepresentation